package com.fpx.pc.data.listener;

import com.fpx.pc.BaseActivity;
import com.fpx.pc.R;

import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;

public class CheckBox_SaveInfo_Listener extends BaseActivity implements OnClickListener {
	private Context context;
	private CheckBox checkBox;
	public CheckBox_SaveInfo_Listener(Context context, CheckBox checkBox) {
		super();
		this.context = context;
		this.checkBox = checkBox;
	}
	
	public CheckBox_SaveInfo_Listener(CheckBox checkBox) {
		super();
		this.checkBox = checkBox;
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		if (!checkBox.isChecked()) {
//			checkBox.setChecked(false);
			showDialog(DIALOG_AUTO_LOGIN);
		}
	}

}
